package practise.mulitThreads.ConcurrentInPractice.secondTime.pageRender;

import java.util.Date;
import java.util.concurrent.Callable;

/**
 * Created by Richard on 7/28/2014.
 */
public class PageContentDownloader implements Callable<String>{

    private String addres ;

    public PageContentDownloader(String addres) {
        this.addres = addres;
    }

    @Override
    public String call() throws Exception {
        Thread.sleep(1000);
        return "address"+new Date().toString();
    }
}
